package Hxw3DEngine.core.Resource 
{
	/**
	 * ...
	 * @author ...
	 */
	public class ResourceBundle extends ResourceBase 
	{
		private var _atoms:Vector.<IResourceAtom> = new Vector.<IResourceAtom>();
		private var _depends:Vector.<ResourceBase>; 
		
		public function ResourceBundle(path:String) 
		{
			super(path);
		}
		override public function get numOfAtom():uint 
		{
			return _atoms.length;
		}
		override public function getAtom(index:uint = 0):IResourceAtom 
		{
			if (index < _atoms.length) {
				return _atoms[index];
			}
			return null;
		}
	}
}